<?php
/**
 * 类名称
 * User: 13651
 * Time: 2025/9/11 10:09
 */

namespace App\Param\User;

use App\Param\Param;

class UserParams  extends Param
{
    //记录id
    public $id;

    /**
     * 验证规则
     * @return string[]
     */
    public function rules()
    {
        return [
            'id' => 'required|integer',
        ];
    }

    /**
     * 获取id
     * @return mixed
     */
    public function getId()
    {
        return $this->id;
    }
}